package com.jmu.medicineknows.service;

import com.jmu.medicineknows.dto.DrugPageDto;
import com.jmu.medicineknows.entity.Result;
import com.jmu.medicineknows.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    Result getList(DrugPageDto drugPageDto);
    Result addToCart(ShoppingCart shoppingCart);
    Result updateCart(ShoppingCart shoppingCart);

    Result delete(List<Integer> list);
    Result order(List<ShoppingCart> shoppingCarts);
}
